#include "DictProducer.h"

int main() {
    Configuration *conf = Configuration::getInstance();
    conf->setConfigMap("/home/kyle/Project/WebDisk/conf/myconf.conf");

    DictProducer dic(conf);

    dic.buildEnDict();
    dic.buildCnDict();

    dic.createIndex();
    dic.store("/home/kyle/Project/WebDisk/data");
    return 0;
}